#include <stdio.h>
#include <string.h>

// the normal way to solution.
// from CSDN link:https://download.csdn.net/download/black_cat7/12447714?spm=1001.2101.3001.6661.1&utm_medium=distribute.pc_relevant_t0.none-task-download-2%7Edefault%7EOPENSEARCH%7EPaid-1-12447714-blog-108011383.235%5Ev43%5Econtrol&depth_1-utm_source=distribute.pc_relevant_t0.none-task-download-2%7Edefault%7EOPENSEARCH%7EPaid-1-12447714-blog-108011383.235%5Ev43%5Econtrol&utm_relevant_index=1

int isPalidrome(char str[])
{

    int length = strlen(str) ;

    for (int i = 0 ; i < length ; i++)
    {

        if (str[i] != str[length - 1])
        {

            return 0 ;

        }

        return 1 ;
        
    }
}

int main()
{

    char s [100] ;

    scanf("%s" , &s) ;

    if (isPalidrome(s))
    {
        
        printf("ture\n") ;

    }

    else
    {

        printf("false\n") ;

    }

    return 0 ;

}